Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make _site object available on documents in dev mode #31

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

benlife5
Copy link
Contributor

benlife5 referenced this pull request in yext/pages Aug 28, 2024
…iable (#542)

- Reads the site stream config from sites-config or config.yaml
- injects it into the page head as global variable `siteStream`
- together with
[https://github.com/yext/visual-editor/pull/31](https://github.com/yext/visual-editor/pull/31)
- future update to Storm will take this information from Visual Editor
to return `_site` object on documents in dev mode

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
@benlife5 benlife5 merged commit 3b4f904 into main Aug 28, 2024
9 checks passed
@benlife5 benlife5 deleted the site-stream-dev-mode branch August 28, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants